package com.linrui.gift.exception.code;

public enum  ErrorCode {

    ERROR_CODE_200(200,"操作成功!"),
    ERROR_CODE_400(400,"参数不正确!"),
    ERROR_CODE_500(500,"系统异常,请联系管理员!"),
    ERROR_CODE_TENANT_PASSWORD_NOTEQ(50001,"操作成功!"),
    ERROR_CODE_TENANT_EXSIT(50002,"该租户已经入驻,请勿重复操作!"),
    ERROR_CODE_ADMIN_EXSIT(50003,"已经入驻过店铺,请登录添加!");

    private Integer code;

    private String massage;

    ErrorCode(Integer code,String massage){
        this.code = code;
        this.massage = massage;
    };
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }
}
